export interface TurbStatusExprData {
  tagStatusVOList: TagMark[];
  turbStatusVOList: TurbStatusExpr[];
  message: string
}

export interface TagMark {
  tagId: number;
  tagName: string;
  tagStateMark: string;
  value?: number;
}


/**
 *
 *
 * @export
 * @class TurbstatusExpr
 */
export class TurbStatusExpr {

  /**
   * Creates an instance of TurbstatusExpr.
   * @param {number} modelId 型号ID
   * @param {number} statusId 状态ID
   * @param {string} expr 状态表达式
   * @param {string} [statusName] 状态名称
   * @param {string} [statusColor] 状态颜色
   * @param {string} [modelName] 型号名称
   * @param {string} [result] 验证结果
   * @param {boolean} [isChecked] 是否选中
   * @memberof TurbstatusExpr
   */
  constructor(
    public modelId: number,
    public statusId: number,
    public expr: string,
    public statusName?: string,
    public statusColor?: string,
    public modelName?: string,
    public result?: boolean,
    public isChecked: boolean = false
  ) {
    Object.defineProperty(this, 'modelName', {enumerable: false});
    Object.defineProperty(this, 'statusName', {enumerable: false});
    Object.defineProperty(this, 'result', {enumerable: false});
    Object.defineProperty(this, 'isChecked', {enumerable: false});
    Object.defineProperty(this, 'statusColor', {enumerable: false});
  }
}
